package com.hhsjdesign.dynamicui.annotation

import androidx.annotation.StringDef
import com.hhsjdesign.dynamicui.core.property.viewdata.ItemViewData
import com.hhsjdesign.dynamicui.core.widgetdata.WidgetData
import java.lang.annotation.Retention
import java.lang.annotation.RetentionPolicy

@Target(AnnotationTarget.VALUE_PARAMETER)
@Retention(RetentionPolicy.SOURCE)
@StringDef(
    ItemViewData.ITEM_VIEW_TYPE_FRAME,
    ItemViewData.ITEM_VIEW_TYPE_LINEAR_V,
    ItemViewData.ITEM_VIEW_TYPE_LINEAR_H,
    ItemViewData.ITEM_VIEW_TYPE_TEXT,
    ItemViewData.ITEM_VIEW_TYPE_IMAGE,
    ItemViewData.ITEM_VIEW_TYPE_VIEW
)
annotation class ViewTypeCode 